package com.bitin.adorn.modules.system.domain;

import com.bitin.adorn.common.orm.domain.AbstractAuditableModel;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.persistence.Entity;
import jakarta.persistence.Table;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 系统配置 实体
 *
 * @author Mr.Lu
 * @since 2024/12/30 11:00
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Schema(description = "系统配置")
@Entity
@Table(name = "sys_config")
public class Config extends AbstractAuditableModel {

    /**
     * 配置名称
     */
    private String configName;

    /**
     * 配置键
     */
    private String configKey;

    /**
     * 配置值
     */
    private String configValue;

    /**
     * 描述、备注
     */
    private String remark;

    /**
     * 创建人ID
     */
    private Long createBy;

    /**
     * 更新人ID
     */
    private Long updateBy;

    /**
     * 逻辑删除标识(0-未删除 1-已删除)
     */
    private Integer isDeleted;
}
